﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using NHibernate.Model;
using NHibernate.BLL;
using NHibernate.Comm;

namespace NHibernate.Web
{
    public partial class _Default : System.Web.UI.Page
    {
        Traning_LecturerBLL bll = new Traning_LecturerBLL();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                DataLoad();
            }
        }

        private void DataLoad()
        {
            Traning_LecturerQuery query = new Traning_LecturerQuery();
            List<Traning_Lecturer> list = bll.GetList(query);
        }
    }
}
